<?php
/**
 * 简历解析 Logic
 */

namespace app\common\queue;


class BaseCommonQueue{
    protected static $inition;

    protected static $key;

    public static function make($config=[]){
        $config['queue_key'] = static::$key;
        self::$inition = new CommonQueue($config);
        return self::$inition;
    }

    public static function __callStatic($name, $arguments)
    {
        return call_user_func_array([self::make(), $name], $arguments);
    }
    public function __call($name, $arguments)
    {
        return call_user_func_array([self::make(), $name], $arguments);
    }
}